<!DOCTYPE html>
<html>
<head>
    <title>Signed Right Shift Example 2</title>
    <script type="text/javascript">
    
        var oldValue = -64;              //equal to binary -1000000
        var newValue = oldValue >> 5;    //equal to binary -10 which is decimal -2
        alert(newValue);                 //-2


    </script>

</head>
<body>
  
</body>
</html>